package org.redmagic.api;

import java.util.List;

import org.redmagic.domain.Tags;
import org.redmagic.ui.UiProperty;
import org.springframework.stereotype.Service;

@Service
public interface UiService {
	
	public Tags getAllTags();
	
	public Tags getSelectedTags(String key);
	
	public long getPropertyCount();

	public List<UiProperty> listProperties();

	public List<UiProperty> listProperties(int startIndex, int pageSize);

	public void createProperty(UiProperty property);

	public void updateProperty(UiProperty property);

	public void removeProperty(String key);
}
